class Spam(object):

    @classmethod
    def parrot(cls, message):
        print cls.__name__, "says:", message

class Eggs(Spam):
    
    @classmethod
    def parrot(cls, message):
        
        print issubclass(cls, Eggs)
        
        super(Eggs, cls).parrot(message)

Eggs.parrot("test")
######################################################

class Spam(object):

    def parrot(self, message):
        print "says:", message

class Eggs(Spam):

    def parrot(self, message):
        
        print isinstance(self, Eggs)
        super(Eggs, self).parrot(message)

Eggs().parrot("test")

